/*
 * 订单基类
 * @author: huangzong
 */
const C = require('../common/common.js')

class Order {
    constructor() {}

    /*
     * 获取订单信息
     * filter信息的格式{filter: filter(string)}
     */
    async getOrderList(filter) {
        return C.ajax('/shop/order/orderlist', filter)
    }
}

module.exports = new Order()